/**
 * Created by Freeman on 2016/6/27.
 */
"use strict";

var express = require('express');

var User = require('../models/user.model');
var settings = require('../../settings');

require('./local/passport').setup(User, settings);
require('./github/passport').setup(User, settings);

var router = express.Router();


router.use('/local',require('./local'));
router.use('/github',require('./github'));

module.exports = router;